
package cn.edu.scau.cmi.hombio.dao;

import cn.edu.scau.cmi.hombio.domain.SaleTaskQuality;

import java.math.BigDecimal;

import java.util.Set;

import org.skyway.spring.util.dao.JpaDao;

import org.springframework.dao.DataAccessException;

/**
 * DAO to manage SaleTaskQuality entities.
 * 
 */
public interface SaleTaskQualityDAO extends JpaDao<SaleTaskQuality> {

	/**
	 * JPQL Query - findSaleTaskQualityByPrimaryKey
	 *
	 */
	public SaleTaskQuality findSaleTaskQualityByPrimaryKey(Integer id) throws DataAccessException;

	/**
	 * JPQL Query - findSaleTaskQualityByPrimaryKey
	 *
	 */
	public SaleTaskQuality findSaleTaskQualityByPrimaryKey(Integer id, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findSaleTaskQualityByPrice
	 *
	 */
	public Set<SaleTaskQuality> findSaleTaskQualityByPrice(java.math.BigDecimal price) throws DataAccessException;

	/**
	 * JPQL Query - findSaleTaskQualityByPrice
	 *
	 */
	public Set<SaleTaskQuality> findSaleTaskQualityByPrice(BigDecimal price, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findSaleTaskQualityById
	 *
	 */
	public SaleTaskQuality findSaleTaskQualityById(Integer id_1) throws DataAccessException;

	/**
	 * JPQL Query - findSaleTaskQualityById
	 *
	 */
	public SaleTaskQuality findSaleTaskQualityById(Integer id_1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findAllSaleTaskQualitys
	 *
	 */
	public Set<SaleTaskQuality> findAllSaleTaskQualitys() throws DataAccessException;

	/**
	 * JPQL Query - findAllSaleTaskQualitys
	 *
	 */
	public Set<SaleTaskQuality> findAllSaleTaskQualitys(int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findSaleTaskQualityByMemo
	 *
	 */
	public Set<SaleTaskQuality> findSaleTaskQualityByMemo(String memo) throws DataAccessException;

	/**
	 * JPQL Query - findSaleTaskQualityByMemo
	 *
	 */
	public Set<SaleTaskQuality> findSaleTaskQualityByMemo(String memo, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findSaleTaskQualityByMemoContaining
	 *
	 */
	public Set<SaleTaskQuality> findSaleTaskQualityByMemoContaining(String memo_1) throws DataAccessException;

	/**
	 * JPQL Query - findSaleTaskQualityByMemoContaining
	 *
	 */
	public Set<SaleTaskQuality> findSaleTaskQualityByMemoContaining(String memo_1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findSaleTaskQualityByQuality
	 *
	 */
	public Set<SaleTaskQuality> findSaleTaskQualityByQuality(Integer quality) throws DataAccessException;

	/**
	 * JPQL Query - findSaleTaskQualityByQuality
	 *
	 */
	public Set<SaleTaskQuality> findSaleTaskQualityByQuality(Integer quality, int startResult, int maxRows) throws DataAccessException;

}